package net.oschina.app.fragment.explore;

import net.oschina.app.adapter.TabVPAdpater;
import net.oschina.app.fragment.BaseTabPageFragment;

/**
 * Created by YL on 2017/4/8.
 */

public class EventFragment extends BaseTabPageFragment{
    @Override
    protected int getFirstItem() {
        return 0;
    }

    @Override
    public void setupTab(TabVPAdpater adpater) {
        adpater.addTab("近期活动",RecentlyExerciseFragment.class,null);
        adpater.addTab("我的活动",MyExerciseFragment.class,null);
    }
}
